package cn.iocoder.yudao.module.iot.controller.admin.devicerel.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 报警器和气阀绑定分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DeviceRelPageReqVO extends PageParam {

    @Schema(description = "物联网设备名", example = "赵六")
    private String deviceName;

    @Schema(description = "气阀编号")
    private String valveCode;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "激活状态 0-未激活 1-已激活")
    private Boolean active;

    @Schema(description = "设备激活时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] activeTime;

    @Schema(description = "燃气用户id", example = "18647")
    private Integer memberId;

    @Schema(description = "绑定错误标记 0-正常 1-绑定错误")
    private Boolean errorFlag;

    @Schema(description = "通知事件类型", example = "2")
    private String noticeType;

}